*{
    margin: 0;
    padding: 0;
}

body{
    display: flex;
    justify-content: center;
    height: 100vh;
    align-items: center;

    background-color: thistle;
}

.container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
}

.rating{
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;

    gap: 4px;
    padding: 30px 40px;

    border: 3px solid pink;
    border-radius: 30px;
    background: #bd91bc;

    box-shadow: 
    30px 30px 30px -10px rgba(0, 0, 0, 0.5)
    ,inset 10px 10px 3px rgba(255, 255, 255, 0.1)
    ,-4px -4px 15px rgba(255, 255, 255, 0.1)
    ,inset -2px -2px 12px rgba(0, 0, 0, 0.5)
    ;

}

input{
    position: relative;
    width: 40px;
    height: 40px;

    appearance: none;
}

input::after{
    content: '\f005';
    font-family: fontAwesome;

    font-size: 35px;
}

input:hover~input::after,
input:hover::after,
input:checked~input::after,
input:checked::after
{
    color: var(--c);
}